package org.jetlinks.pro.clickhouse.metadata;

import org.hswebframework.ezorm.rdb.metadata.RDBSchemaMetadata;
import org.hswebframework.ezorm.rdb.metadata.RDBTableMetadata;
import org.hswebframework.ezorm.rdb.supports.h2.H2Paginator;

public class ClickHouseSchemaMetadata extends RDBSchemaMetadata {

    public ClickHouseSchemaMetadata(String name) {
        super(name);

        addFeature(new ClickHouseTableMetadataParser(this));
        addFeature(new H2Paginator());
        addFeature(new ClickHouseCreateTableSqlBuilder());
        addFeature(new ClickHouseAlterTableSqlBuilder());
    }

    @Override
    public void addTable(RDBTableMetadata metadata) {
        super.addTable(metadata);
    }
}
